<template>
  <LoginBg>
    <template #login>
      <Login></Login>
    </template>
    <template #register>
      <Register></Register>
    </template>
  </LoginBg>
</template>

<script lang="ts" setup>
import { defineAsyncComponent } from 'vue'
// login背景
const LoginBg = defineAsyncComponent(
  () => import('@/components/login/LoginBg.vue')
)
// 注册
const Register = defineAsyncComponent(
  () => import('@/views/login/Rrgister.vue')
)
// 登录
const Login = defineAsyncComponent(() => import('@/views/login/Login.vue'))
</script>
